
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H+ 后台主题UI框架 - 空白页</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
     <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
  <style>
     .checkbox-inline input[type=checkbox],.radio-inline input[type=radio] {
           margin-top: 4px;
      }
  </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
    <div class="page-heade">
      <h2 class="title_color text-center">添加物流商</h2>
    </div>
    <!-- 标题 -->
    <div>
    <form action=""  class="form-inline">
      <table class="row-margin-top tab-content table-bordered table text-left" border="1">
          <tr>
            <td style="min-width: 140px" class="text-left"><label for="" class="form-label">物流商编号<span class="colorRed">*</span>：</label></td>
            <td colspan="5"><input type="text" class="form-control" name="logisticsNum" id="logisticsNum"><span class="colorRed">(温馨说明：如果不填写供应商编号，系统将自动分配一个编号。)</span></td>
             </tr>
             <tr>
				 <td style="min-width: 140px" class="text-left"><label for="" class="form-label">物流商简称<span class="colorRed">*</span>：</label></td>
            <td colspan="5"><input type="text" class="form-control" name="logisticsName" id="logisticsName"></td>
             </tr>
             <tr>
                 <td style="min-width: 140px" class="text-left"><label for="" class="form-label">物流商全称<span class="colorRed">*</span>：</label></td>
            <td colspan="5"><input type="text" class="form-control" name="logisticsName_all" id="logisticsName_all"></td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-left"><label for="" class="form-label">物流商地址<span class="colorRed">*</span>：</label></td>
             <td colspan="5"><input type="text" class="form-control" name="logistics_address" id="logistics_address"></td>
             </tr>
                <tr>

               <td style="min-width: 140px" class="text-left"><label for="" class="form-label">联系人姓名<span class="colorRed">*</span>：</label></td>
            <td><input type="text" class="form-control" name="contact_Name" id="contact_Name"></td>
             <td style="min-width: 140px" class="text-left"><label for="" class="form-label">联系人电话<span class="colorRed">*</span>：</label></td>
            <td ><input type="text" class="form-control" name="contact_tell" id="contact_tell"></td>
              <td style="min-width: 140px" class="text-left"><label for="" class="form-label">公司传真：</label></td>
            <td ><input type="text" class="form-control" name="web_faxres" id="web_faxres"></td>
             </tr>
              <tr>
                 <td style="min-width: 140px" class="text-left"><label for="" class="form-label">邮寄地址<span class="colorRed">*</span>：</label></td>
            <td colspan="5"><input type="text" class="form-control" name="mailing_address" id="mailing_address"></td>
             </tr>
              <tr>

               <td style="min-width: 140px" class="text-left"><label for="" class="form-label">收件人<span class="colorRed">*</span>：</label></td>
            <td><input type="text" class="form-control" name="recipients" id="recipients"></td>
             <td style="min-width: 140px" class="text-left"><label for="" class="form-label">收件人电话<span class="colorRed">*</span>：</label></td>
            <td colspan="3"><input type="text" class="form-control" name="recipients_tell" id="recipients_tell"></td>
             </tr>
             <tr>
            <td style="min-width: 140px" class="text-left" rowspan="2"><label for="" class="form-label">备注：</label></td>
            <td colspan="5">
                <textarea name="" id="" class="form-control" rows="2" style="user-select:none;width: 70%"></textarea><span style="vertical-align: bottom;">500</span>
            </td>
             </tr>
      </table>
     <div class="form-group white-bg" style="margin:20px 10px 20px 20px" id="upfileDiv">
        <input type="file" id="exampleInputFile">
        <p class="help-block" style="color:#1295d2">注：最多上传15个文件，每个文件小于50M,支持格式：</p>
        <p class="help-block" style="color:#1295d2">jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav</p>
    </div>
       <div class="text-center">
            <button class="btn btn-warning" id="save" type="button">保存</button>
            <button class="btn btn-success" type="button" style="margin-left: 20px" onclick="back()">返回</button>
      </div>
</form>
    </div>
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <!--统计代码，可删除-->
    <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
      <script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
         <script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
      <script src="__STATIC__/layout/js/common.js"></script>
   <script>
   			$("#save").click(function(){
   				 if($("#logisticsName").val()==""){
                     swal("", "物流商简称不能为空！","error"); 
              }else if($("#logisticsName_all").val()==""){
                  swal("", "物流商全称不能为空！","error"); 
              }else if ($("#logistics_address").val()=="") {
                   swal("", "物流商地址不能为空！","error"); 
              }else if ($("#contact_Name").val()=="") {
                   swal("", "联系人姓名不能为空！","error"); 
              }else if ($("#contact_tell").val()=="") {
                   swal("", "联系人电话不能为空！","error"); 
              }else if($("#mailing_address").val()==""){
                 swal("", "邮寄地址不能为空！","error"); 
              }else if($("#recipients").val()==""){
                 swal("", "收件人不能为空！","error"); 
              }else if($("#recipients_tell").val()==""){
                 swal("", "收件人电话不能为空！","error"); 
              }else{
                return false;
              }
   			})
   		 

   </script>
</body>

</html>
